package org.kotboot.domain;

import org.kotboot.domainext.ExtDel;
import org.kotboot.kit.K;

import javax.persistence.Table;

/**
 * commodity top
 *
 * @author jisong.sun on 2017/11/17.
 */


@Table(name = "ms_commodity_top")
public class CommodityTop extends ExtDel {

    private Long commodity_id;
    private Integer sort;
    private String main_photo;

    private String title;

    private String summary;

    public Long getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(Long commodity_id) {
        this.commodity_id = commodity_id;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getMain_photo() {
        return main_photo;
    }

    public void setMain_photo(String main_photo) {
        this.main_photo = main_photo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    @Override
    public String toString() {
        return K.toJson(this);
    }
}
